package com.example.smartplay.mapper;

import com.example.smartplay.entity.Notice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2024-07-11
 */
@Mapper
public interface NoticeMapper extends BaseMapper<Notice> {
    @Select("select * from notice")
    List<Notice> list();
}
